package com.business.wechat.bean;

import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * 
 * @author fengjian
 * @date: 2018/06/22 微信支付订单回调表
 */
@Table(name = "WX_ORDER")
public class WeixinOrderBean {

	@Column(pk = true, type = Type.定长文本, description = "订单编号", canNull = false, size = 32, policy = "UUID")
	private String orderId = null;

	/** 订单发起人微信ID */
	@Column(type = Type.变长文本, description = "openid", size = 100)
	private String openId = null;

	@Column(type = Type.变长文本, description = "订单金额", size = 100)
	private String orderFee = null;

	@Column(type = Type.变长文本, description = "订单参数", size = 250)
	private String params = null;

	public static int STATUS_NO_OK = 2;
	public static int STATUS_OK = 1;

	/** 1：成功；2：未成功 */
	@Column(type = Type.数字整型, description = "状态")
	private int status = 0;

	@Column(type = Type.日期时间, description = "申请时间")
	private java.util.Date applyTime = null;

	@Column(type = Type.变长文本, description = "回调实体类名", size = 100)
	private String ActionName = null;

	@Column(type = Type.变长文本, description = "回调方法名", size = 100)
	private String functionName = null;

	@Column(type = Type.日期时间, description = "支付时间")
	private java.util.Date payTime = null;

	@Column(type = Type.变长文本, description = "备注说明", size = 250)
	private String remark = null;

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOpenId() {
		return openId;
	}

	public String getActionName() {
		return ActionName;
	}

	public void setActionName(String actionName) {
		ActionName = actionName;
	}

	public String getFunctionName() {
		return functionName;
	}

	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getOrderFee() {
		return orderFee;
	}

	public void setOrderFee(String orderFee) {
		this.orderFee = orderFee;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public java.util.Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(java.util.Date applyTime) {
		this.applyTime = applyTime;
	}

	public java.util.Date getPayTime() {
		return payTime;
	}

	public void setPayTime(java.util.Date payTime) {
		this.payTime = payTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

}
